
<script type="text/javascript" charset="utf-8">
            Date.format = 'yyyy-mm-dd';
</script>

<style type="text/css" media="screen">
	/* css for timepicker */
#ui-timepicker-div dl{ text-align: left; }
#ui-timepicker-div dl dt{ height: 25px; }
#ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }


</style>
<div class="left">
<?php echo $this->Form->create('Event',array('url'=>"/events/add"));?>
	<fieldset>
 		<div class="titles"><?php __("创建新活动"); ?></div>
 		<table id="settings">
 		    <tr><td class="name">活动标题：</td><td><?php echo $this->Form->text('name',array('class'=>'full-width')); ?></td></tr>
 		    <tr><td class="name">活动描述：</td><td><?php echo $this->Form->textArea('description'); ?></td></tr>
<?php echo $form->hidden('group_id',array('value'=>0)) ?>
 		    <tr><td class="name">开始时间：</td><td>
 		        <input readonly="true" type="text" name="data[begin_date]" value="" id="begin-date">
 		        <input readonly="true"  type="text" name="data[begin_time]" value="" id="begin-time">

 		    </td></tr>
 		    <tr><td class="name">结束时间：</td><td>
 		        <input readonly="true"  type="text" name="data[end_date]" value="" id="end-date">
 		        <input readonly="true"  type="text" name="data[end_time]" value="" id="end-time">
 		        
 		    </td></tr>
 		    <tr><td></td><td><?php echo $this->Form->end(__('Submit', true));?>
</td></tr>
 		</table>

	</fieldset>
</div>
<div class="right">
	<h3><?php __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('查看所有活动', true), array('action' => 'index'));?></li>
	</ul>
	<div id="memebers">
	    
	</div>
</div>